<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用例日志</title>
    <style>
        /* 页面整体样式 */
        body {
            font-family: 'Noto Sans SC', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f7f7f7;
        }

        /* 页面容器样式 */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px;
        }

        /* 标题样式 */
        h1 {
            text-align: center;
            color: #333;
            margin-bottom: 50px;
            font-size: 36px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        /* 表格样式 */
        .table-container {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 16px;
        }

        th, td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        th {
            background-color: #f2f2f2;
            font-weight: bold;
            color: #333;
        }

        td {
            color: #666;
        }

        tr:hover {
            background-color: #f5f5f5;
        }

        /* 测试结果样式 */
        .result-pass {
            color: #4CAF50;
            font-weight: bold;
        }

        .result-fail {
            color: #F44336;
            font-weight: bold;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>用例日志</h1>
    <div class="table-container">
        <table>
            <thead>
            <tr>
                <th>用例名称</th>
                <th>任务编号</th>
                <th>测试结果</th>
                <th>测试时间</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>登录功能测试</td>
                <td>T001</td>
                <td><span class="result-pass">通过</span></td>
                <td>2024-06-03 10:00:00</td>
            </tr>
            <tr>
                <td>注册功能测试</td>
                <td>T002</td>
                <td><span class="result-fail">失败</span></td>
                <td>2024-06-03 14:30:00</td>
            </tr>
            <tr>
                <td>修改密码测试</td>
                <td>T003</td>
                <td><span class="result-pass">通过</span></td>
                <td>2024-06-03 09:45:00</td>
            </tr>
            <tr>
                <td>搜索功能测试</td>
                <td>T004</td>
                <td><span class="result-pass">通过</span></td>
                <td>2024-06-03 16:20:00</td>
            </tr>
            <tr>
                <td>退出功能测试</td>
                <td>T005</td>
                <td><span class="result-fail">失败</span></td>
                <td>2023-06-05 11:10:00</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
</body>
</html>